async function playStartTestTips() {
	console.log('playStartTestTips')
	const innerAudioContext = uni.createInnerAudioContext();
	innerAudioContext.autoplay = true;
	innerAudioContext.src = '/static/audio/startTestTips.aac';
	innerAudioContext.onPlay(() => {
	  console.log('开始播放');
	});
	await new Promise(r => setTimeout(r, 13000));
	innerAudioContext.onError((res) => {
	  console.log(res.errMsg);
	  console.log(res.errCode);
	});
	innerAudioContext.destroy();
}

async function playDingAudio(){
	console.log('playDingAudio')
	const innerAudioContext = uni.createInnerAudioContext();
	innerAudioContext.autoplay = true;
	innerAudioContext.src = '/static/audio/dingAudio.aac';
	innerAudioContext.onPlay(() => {
	  console.log('开始播放');
	});
	await new Promise(r => setTimeout(r, 1000));
	innerAudioContext.onError((res) => {
	  console.log(res.errMsg);
	  console.log(res.errCode);
	});
	innerAudioContext.destroy();
}

async function playStartTest(){
	console.log('playStartTest')
	const innerAudioContext = uni.createInnerAudioContext();
	innerAudioContext.autoplay = true;
	innerAudioContext.src = '/static/audio/startTest.aac';
	innerAudioContext.onPlay(() => {
	  console.log('开始播放');
	});
	await new Promise(r => setTimeout(r, 2000));
	innerAudioContext.onError((res) => {
	  console.log(res.errMsg);
	  console.log(res.errCode);
	});
	innerAudioContext.destroy();
}

async function playTestEnd(){
	console.log('playTestEnd')
	const innerAudioContext = uni.createInnerAudioContext();
	innerAudioContext.autoplay = true;
	innerAudioContext.src = '/static/audio/testEnd.aac';
	innerAudioContext.onPlay(() => {
	  console.log('开始播放');
	});
	await new Promise(r => setTimeout(r, 4000));
	innerAudioContext.onError((res) => {
	  console.log(res.errMsg);
	  console.log(res.errCode);
	});
	innerAudioContext.destroy();
}

export { //很关键
  playStartTestTips,
  playDingAudio,
  playStartTest,
  playTestEnd
}